<%@ Reference Control="~/modules/adminportal/modulelist.ascx" %>
<%@ Control Language="c#" Inherits="Portal.Modules.AdminPortal.AdminTab" CodeBehind="AdminTab.ascx.cs" %>
<%@ Register TagPrefix="uc1" TagName="ModuleList" Src="~/modules/adminportal/ModuleList.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Module" Src="~/modules/adminportal/ModuleEdit.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Roles" Src="~/modules/adminportal/Roles.ascx" %>
<div id="tabContainer" class="clearfix">
	<div id="tabMiddle" runat="server" class="tabMiddleFull">
		<div class="moduleContent">
			<h2>
				<portal:Label ID="Label1" runat="server" LanguageRef="TabData" />
			</h2>
			<p>
				<portal:LinkButton ID="lnkSave" runat="server" CssClass="linkButton" OnClick="OnSave"
					CausesValidation="True" LanguageRef="Save" />
				<portal:LinkButton ID="lnkCancel" runat="server" CssClass="linkButton" OnClick="OnCancel"
					CausesValidation="False" LanguageRef="Cancel" />
				<portal:LinkButton ID="lnkDelete" runat="server" CssClass="linkButton" OnClick="OnDelete"
					CausesValidation="False" LanguageRef="Delete" />
			</p>
			<asp:Label ID="lbError" runat="server" CssClass="Error" EnableViewState="False" />
			<asp:ValidationSummary EnableClientScript="False" ID="validation" runat="server" />
			<table width="100%" cellpadding="0" cellspacing="0" class="formData">
				<tr>
					<td class="lb_top">
						<portal:Label ID="Label2" runat="server" LanguageRef="Title" />
					</td>
					<td class="ct_top">
						<asp:TextBox ID="txtTitle" runat="server" />
						<portal:RequiredFieldValidator EnableClientScript="False" ID="Requiredfieldvalidator1"
							runat="server" ControlToValidate="txtTitle" Display="Dynamic" LanguageRef="TitleRequired" />
					</td>
				</tr>
				<tr>
					<td class="lb_normal">
						<portal:Label ID="Label3" runat="server" LanguageRef="Reference" />
					</td>
					<td class="ct_normal">
						<asp:TextBox ID="txtReference" runat="server" />
						<portal:RequiredFieldValidator EnableClientScript="False" ID="validator1" runat="server"
							ControlToValidate="txtReference" Display="Dynamic" LanguageRef="ReferenceRequired" />
					</td>
				</tr>
				<tr>
					<td class="lb_normal">
						<portal:Label ID="Label4" runat="server" LanguageRef="ImagePathI" />
					</td>
					<td class="ct_normal">
						<asp:TextBox ID="txtImagePathI" runat="server" />
					</td>
				</tr>
				<tr>
					<td class="lb_normal">
						<portal:Label ID="Label5" runat="server" LanguageRef="ImagePathA" />
					</td>
					<td class="ct_normal">
						<asp:TextBox ID="txtImagePathA" runat="server" />
					</td>
				</tr>
				<tr>
					<td>
						<portal:Label ID="Label6" runat="server" LanguageRef="Roles" />
					</td>
					<td class="ct_normal">
						<uc1:Roles ID="RolesCtrl" runat="server" ShowRoleType="False"></uc1:Roles>
					</td>
				</tr>
			</table>
			<uc1:Module ID="ModuleEditCtrl" runat="server" Visible="False" OnCancel="OnCancelEditModule"
				OnDelete="OnDeleteModule" OnSave="OnSaveModule"></uc1:Module>
			<uc1:ModuleList ID="ModuleListCtrl_Left" runat="server" TitleLanguageRef="ModulesLeft" />
			<uc1:ModuleList ID="ModuleListCtrl_Middle" runat="server" TitleLanguageRef="ModulesMiddle" />
			<uc1:ModuleList ID="ModuleListCtrl_Right" runat="server" TitleLanguageRef="ModulesRight" />
		</div>
	</div>
</div>
